package com.yong.ssj.util;

import javax.annotation.Resource;

import org.springframework.stereotype.Component;
import org.springframework.stereotype.Controller;

import com.yong.ssj.service.order.IOrderService;

@Component("taskJob")
public class TaskJob {
	@Resource(name="OrderServiceImpl")
	private IOrderService orderService;
	
	public void job() {  //定时任务
		orderService.madeReturn();
    }  
}
